package com.study.quiz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * @author CJunGod
 * @create 2020-03-04 13:48
 **/
@Data
public class User {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String accountId;

    private String token;

    private Long gmtCreate;

    private Long gmtModified;

    private String bio;

    private String avatarUrl;

    public User(){

    }

    public User(String name, String accountId, String token, Long gmtCreate, Long gmtModified){
        super();
        this.name = name;
        this.accountId = accountId;
        this.token = token;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }

}
